
package org.cocos2dx.jh1;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class test1 extends Activity{

	protected void onCreate(Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		
		Button bt1 = (Button)findViewById(R.id.button1);
		
		bt1.setOnClickListener(new OnClickListener()
        {
			public void onClick(View v) {
				Intent intent = new Intent(test1.this,cocotest.class);
				startActivity(intent);
				finish();
			}
        });
	}
	
}

